package zy2;

public class Test {
    public static void main(String[] args) {
        Graph graph1 = new Circle(2);
        graph1.perimeter();
        graph1.area();

        System.out.println("-----------------------------------");

        Graph graph2 = new Rhomboid(1,2,3);
        graph2.perimeter();
        graph2.area();

        System.out.println("-----------------------------------");

        Graph graph3 = new Rectangle(2,4);
        graph3.perimeter();
        graph3.area();

        System.out.println("-----------------------------------");

        Graph graph4 = new Trapezoid(2,3,5,4);
        graph4.perimeter();
        graph4.area();
    }
}
